package com.woniu.mapper;

import com.woniu.pojo.Permission;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface PermissionMapper {
    //分布查询Permission集合
    public List<Permission> selectPermissionsWithStep();

    //根据权限id查询权限
    public  Permission selcetPermissionsById(@Param("perid") Integer perid);
}
